<template>
	<view>
		<view class="tipsBox">
			<image src="../../static/images/2f326d0c-2496-44f1-b171-933e12a16bcb.png.slim.png"></image>
		</view>
		<view class="invitationBox">
			<view class="participationBox">
				<view class="placedAnOrder">
					<image src="../../static/images/f.png"></image>
				</view>
				<view class="residue">
					<image src="../../static/images/combination_status_wh.png"></image>
				</view>
				<view class="residue">
					<image src="../../static/images/combination_status_wh.png"></image>
				</view>
				<view class="residue">
					<image src="../../static/images/combination_status_wh.png"></image>
				</view>
			</view>
			<text class="participationTitle">
				需再
				<text class="emphasis">主动邀请3人</text>
				,成团才能发货
			</text>
			<text class="countDown">仅剩23:08:20:1</text>
			<button class="participationButton">在邀3人拼单</button>
		</view>
		<view class="receivingBox">
			<view class="expressage">
				<image class="icon" src="../../static/images/combination_status_dwred.png"></image>
				<view class="info">
					<text class="recipient">俞</text>
					<text class="telphone">15888288559</text>
					<text class="location">浙江省温州市瑞安市安阳街道塘河北路333号Migou</text>
				</view>
			</view>
			<view class="takeTheir" v-if="false">
				<view class="top">
					<text class="title">自提地址信息</text>
					<view class="button">
						<image src="../../static/images/combination_status_dwred.png"></image>
						<text>查看位置</text>
					</view>
				</view>
				<view class="merchant">
					<text class="name">欧商百货</text>
					<text class="tlephone">13333333333</text>
					<view class="iconfont icon-tonghua icon"></view>
					<text class="location">浙江省温州市瑞安市安阳街道塘河北路333号Migou</text>
					<view class="businessHours">
						<text class="title">营业时间</text>
						<text class="week">周一、周二、周三、周四、周五<text class="time">03:00-16:56</text></text>
					</view>
				</view>
			</view>
		</view>
		<view class="contentBox">
			<view class="merchant">
				<image class="logo" src="../activity/static/images/no_product.png"></image>
				<text class="name">欧商百货</text>
				<text class="selfSupport">自营</text>
				<image class="right" src="../../static/images/product_details_you.png"></image>
			</view>
			<view class="commodity">
				<image class="flatPatternmaking" src="../activity/static/images/no_product.png"></image>
				<view class="info">
					<view class="particulars">
						<text class="title">【1袋4斤】活力28熏衣草香型洗衣液官方正品家庭优惠装持久留香</text>
						<text class="specification">【单袋特惠】4斤*1袋</text>
					</view>
					<view class="pice">
						<priceFormat class="priceFormat" :price="23" weight intSize="30" floatSize="24" labelSize="20"></priceFormat>
						<text class="num">×1</text>
					</view>
				</view>
			</view>
			<view class="relation">
				<button>
					<image src="../../static/images/a2cdc9ca-81d6-496e-af31-de7e24b00279.png.slim.png"></image>
					<text>联系商家</text>
				</button>
			</view>
			<text class="pice">实付:
			<priceFormat class="priceFormat" :price="23" weight intSize="30" floatSize="24" labelSize="20"></priceFormat>
			</text>
			<view class="otherInformation">
				<view class="item">
					<text class="title">订单编号:</text>
					<text class="cont">wxo1735883440198716761</text>
					<button>复制</button>
				</view>
				<view class="item">
					<text class="title">下单时间:</text>
					<text class="cont">2025-01-03 13:50:40</text>
				</view>
				<view class="item">
					<text class="title">支付状态:</text>
					<text class="cont">已支付</text>
				</view>
				<view class="item">
					<text class="title">支付时间:</text>
					<text class="cont">2025-01-03 13:50:40</text>
				</view>
				<view class="item">
					<text class="title">支付方式:</text>
					<text class="cont">余额支付</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import priceFormat from '@/components/priceFormat'
	export default {
		components:{
			priceFormat
		},
		data(){
			return{
				
			}
		}
	}
</script>

<style scoped lang="scss">
	.tipsBox{
		width: 100%;
		height: 80rpx;
		background-color: #fff;
		float: left;
		border-bottom: 1rpx solid rgb(245,244,245);
		
		image{
			height: 80rpx;
			width: 100%;
		}
	}
	.invitationBox{
		width: 100%;
		height: 350rpx;
		padding: 26rpx;
		background-color: #fff;
		float: left;
		.participationBox{
			width: 100%;
			height: 80rpx;
			display: flex;
			justify-content: center;
			.placedAnOrder,.residue{
				width: 70rpx;
				height: 70rpx;
				background-color: #FFF;
				border-radius: 50%;
				margin-right: 6rpx;
				margin-left: 6rpx;
				margin-top: 5rpx;
				overflow: hidden;
			}
			.placedAnOrder{
				image{
					width: 100%;
					height: 100%;
				}
			}
			.residue{
				border:2rpx dashed #bcbcbc;
				image{
					width: 45%;
					height: 45%;
					float: left;
					margin-left: 27.5%;
					margin-top: 27.5%;
				}
			}
		}
		.participationTitle{
			width: 100%;
			height: 60rpx;
			line-height: 60rpx;
			margin-top: 15rpx;
			float: left;
			text-align: center;
			font-size:33.5rpx;
			color:#151516;
			font-weight: bold;
			.emphasis{
				color:#E02E24;
			}
		}
		.countDown{
			width: 100%;
			height: 30rpx;
			float: left;
			text-align: center;
			font-size: 28rpx;
			color: #e02e24;
		}
		.participationButton{
			width: 100%;
			height: 90rpx;
			background-color: #e02e24;
			line-height: 90rpx;
			font-size: 33.5rpx;
			color: #fff;
			float: left;
			margin-top: 30rpx;
			
		}
	}
	.receivingBox{
		width: 100%;
		height: auto;
		float: left;
		margin-top:20rpx ;
		
		background-color: #fff;
		.expressage{
			width: 100%;
			float: left;
			height: 152rpx;
			padding: 26rpx;
			.icon{
				width: 60rpx;
				height: 60rpx;
				float: left;
				margin-top: 20rpx;
			}
			.info{
				width: calc(100% - 75rpx);
				height: 90rpx;
				margin-top: 5rpx;
				float: right;
				text{
					color: #58595b;
					font-size:30rpx;
					float: left;
				}
				.recipient,.telphone{
					width: auto;
					height: 45rpx;
					line-height: 45rpx;
				}
				.telphone{
					margin-left: 15rpx;
					margin-right: 15rpx;
				}
				.location{
					width: 100%;
					height: 45rpx;
					line-height: 45rpx;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}
			}
		}
		.takeTheir{
			width: 100%;
			height: auto;
			float: left;
			.top{
				width: 100%;
				height: 90rpx;
				padding: 17.5rpx 26rpx;
				border-bottom: 2rpx solid #f0f0f0;
				.title{
					width: auto;
					height: 55rpx;
					line-height: 55rpx;
					float: left;
					font-size: 30rpx;
					color: #282828;
				}
				.button{
					width: auto;
					float: right;
					height: 55rpx;
					border-radius: 30rpx;
					border:2rpx solid #e02e24;
					image{
						width: 34rpx;
						height: 34rpx;
						margin-right: 2rpx;
						float: left;
						margin-top: 9rpx;
						margin-left: 11rpx;
					}
					text{
						margin-right: 15rpx;
						width: auto;
						float: left;
						font-size: 25rpx;
						height: 55px;
						line-height: 51rpx;
						color:#e02e24;
					}
				}
			}
			.merchant{
				width: 100%;
				height: auto;
				padding: 26rpx;
				float: left;
				.name,.tlephone{
					width: auto;
					float: left;
					height: 45rpx;
					line-height: 45rpx;
					font-size: 30rpx;
					color: #282828;
					margin-right: 10rpx;
				}
				.icon{
					color: #42ca4d;
					font-size: 38rpx;
					float: left;
					line-height: 45rpx;
				}
				.location{
					width: 100%;
					height: 45rpx;
					line-height: 45rpx;
					float: left;
					font-size: 26rpx;
					color: #868686;
					margin-top: 5rpx;
				}
				.businessHours{
					width: 100%;
					height: 140rpx;
					background-color: #FAFAFA;
					float: left;
					margin-top: 30rpx;
					padding: 24rpx;
					border-radius: 10rpx;
					.title{
						width: 100%;
						float: left;
						height: 46rpx;
						line-height: 46rpx;
						font-size: 28rpx;
						color: #282828;
						font-weight: bold;
					}
					.week{
						width: 100%;
						float: left;
						height: 46rpx;
						line-height: 46rpx;
						font-size: 24rpx;
						color: #666;
						.time{
							margin-left: 20rpx;
						}
					}
				}
			}
		}
	}
	.contentBox{
		width: 100%;
		height: auto;
		float: left;
		padding: 26rpx;
		background-color: #fff;
		margin-top: 20rpx;
		.merchant{
			width: 100%;
			height: 50rpx;
			.logo{
				width: 46rpx;
				height: 46rpx;
				float: left;
				border-radius: 5rpx;
				margin-top: 2rpx;
			}
			.name{
				width: auto;
				float: left;
				color: #151516;
				height: 50rpx;
				line-height: 50rpx;
				font-size: 28rpx;
				margin-left: 12rpx;
			}
			.selfSupport{
				width: auto;
				height: 30rpx;
				line-height: 30rpx;
				margin-left: 10rpx;
				padding: 0px 10rpx;
				font-size: 22rpx;
				margin-top: 10rpx;
				float: left;
				font-weight: 400;
				background-color: rgb(61,49,39);
				color:#f9e9d0;
				border-radius: 5rpx;
			}
			.right{
				width: 24rpx;
				height: 24rpx;
				float: left;
				margin-top: 14rpx;
				margin-left: 10rpx;
			}
		}
		.commodity{
			width: 100%;
			height: 160rpx;
			margin-top: 15rpx;
			.flatPatternmaking{
				width: 160rpx;
				height: 160rpx;
				float: left;
			}
			.info{
				width: calc(100% - 175rpx);
				height: 100%;
				float: right;
				display: flex;
				.particulars{
					flex:1;
					height: 100%;
					padding-right: 20rpx;
					.title{
						width: 100%;
						height: auto;
						line-height: 40rpx;
						float: left;
						font-size: 28rpx;
						color: #151516;
						display: -webkit-box;
						-webkit-line-clamp: 2;
						-webkit-box-orient: vertical;
						overflow: hidden;
						text-overflow: ellipsis;
					}
					.specification{
						width: 100%;
						height: auto;
						line-height: 30rpx;
						float: left;
						font-size: 25rpx;
						color: #9c9c9c;
						margin-top: 10rpx;
					}
				}
				.pice{
					width: auto;
					height: 100%;
					float: right;
					.priceFormat{
						float: right;
						text-align: right;
						color: #151516;
					}
					.num{
						width: 50%;
						height: 30rpx;
						line-height: 30rpx;
						font-size: 25rpx;
						color: #9c9c9c;
						float: right;
						text-align: right;
					}
				}
				
			}
		}
		.relation{
			width: 100%;
			height: 62rpx;
			float: left;
			button{
				width: auto;
				float: right;
				height: 100%;
				border-radius: 10rpx;
				border:1rpx solid rgba(0,0,0,0.6);
				image{
					width: 36rpx;
					height: 36rpx;
					float: left;
					margin: 13.5rpx 8rpx 13.5rpx 13rpx;
				}
				text{
					color: #151516;
					font-size: 28rpx;
					height: 62rpx;
					line-height: 62rpx;
					margin-right: 13rpx;
				}
			}
		}
		.pice{
			width: 100%;
			height: 30rpx;
			float: left;
			margin-top: 20rpx;
			text-align: right;
			font-size: 27rpx;
			color: #151516;
			.priceFormat{
				color: #e02e24;
				margin-left: 6rpx;
			}
		}
		.otherInformation{
			width: 100%;
			height: auto;
			float: left;
			margin-top: 25rpx;
			.item{
				width: 100%;
				height: 50rpx;
				float: left;
				.title,.cont{
					width: auto;
					float: left;
					height: 50rpx;
					line-height: 50rpx;
					font-size: 26rpx;
					color: #9c9c9c;
				}
				.cont{
					margin-left: 15rpx;
				}
				button{
					width: auto;
					padding: 0rpx 15rpx;
					height: 40rpx;
					line-height: 38rpx;
					float: right;
					font-size: 24rpx;
					margin-top: 5rpx;
					color:#58595b;
					border:1rpx solid rgba(88, 89, 91,0.6);
				}
			}
		}
	}
	
</style>